-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to @ariakit, Modernize RRE, Part 1 #126
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Z-Version bump?
@nathan-weinberg I want to finish removing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing! First reakit to ariakit migration I've seen in the wild. Glad it was doable.
@@ -6,7 +6,7 @@ | |||
"dev": "next dev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an aside (unrelated to the contents of this PR) does next dev
work for you at this point? I'm getting a bizarre error:
~/t/regional-rail-explorer ❯❯❯ npx next dev modernize-rre ✱
warn - Port 3000 is in use, trying 3001 instead.
ready - started server on 0.0.0.0:3001, url: http://localhost:3001
/Users/ian/transitmatters/regional-rail-explorer/node_modules/typescript/lib/typescript.js:139
for (let i = startIndex ?? 0; i < array.length; i++) {
^
SyntaxError: Invalid or unexpected token
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
which makes me think it's invoking an older version of Node without the ??
operator. Running next build
works fine though so I'm set for testing purposes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I got next dev working either. But to be fair, a lot of stuff is in a weird in between.
At the end of this process I want to get up to nextJS 15.x and Node 22.x, which means everything is on a modern release and should all work together cleaner (and likely give better error messages when they don't). But first we gotta clean up reakit.
Since build works fine for now I think this is a "later" thing to fix imo
Motivation
#122
Changes
legacy-peer-deps=true
for now, with plans to remove afterreakit
is gone, and nextjs is fully updatedTesting Instructions